home *** CD-ROM | disk | FTP | other *** search
/ Aminet 48 / Aminet 48 (2002)(GTI - Schatztruhe)[!][Apr 2002].iso / Aminet / docs / misc / MemManual.lha / MemManual / Include / memory / memory.h < prev    next >
Encoding:
C/C++ Source or Header  |  2002-01-30  |  1.6 KB  |  50 lines

  1. /*****************************************************************
  2.  ** The memory.library                                          **
  3.  **                                                             **
  4.  ** A mmu lib based virtual memory application                  **
  5.  **                                                             **
  6.  ** © 2002 THOR-Software                                        **
  7.  **                                                             **
  8.  **-------------------------------------------------------------**
  9.  ** Module: global memory definititions you need for the    **
  10.  **        library operation                **
  11.  ** Release 40.1        29.01.2002                              **
  12.  *****************************************************************/
  13.  
  14. #ifndef MEMORY_MEMORY_H
  15. #define MEMORY_MEMORY_H
  16.  
  17. #ifndef EXEC_NODES_H
  18. #include <exec/nodes.h>
  19. #endif
  20.  
  21. /*
  22.  * "dummy" structures for objects you'd better not care about
  23.  *
  24.  * Note that the following are "in real" much larger than what you
  25.  * see here.
  26.  * Do not allocate yourself, do not touch.
  27.  */
  28.  
  29. /*
  30.  * The address space. This is an extension of the MMUContext of
  31.  * the mmu.library. How this extension works is intentionally
  32.  * undocumented.
  33.  */
  34.  
  35. struct AdrSpace {
  36.         struct MinNode          adr_Node;               /* for linkage  */
  37.     /* more data beyond this point */
  38. };
  39.  
  40. /*
  41.  * The VMPool administrates a memory pool within an address space
  42.  * using a common caching and memory mode.
  43.  */
  44. struct VMPool {
  45.         struct Node             vmp_Node;               /* links all pools of an AdrSpace */
  46.     /* more data beyond this point */
  47. };
  48.  
  49. #endif
  50.